package edu.scau.ojforwarder.util;

import edu.scau.ojforwarder.bean.IError;

public class ErrorException extends Exception {

    private IError error;

    public ErrorException(IError error) {
        this.error = error;
    }

    public IError getError() {
        return error;
    }
}
